<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title>第五章作业4</title>
		<style type="text/css">
			#img{text-align: center;}
		</style>
		<script type="text/javascript" src="js/jquery-1.12.4.js"></script>
		<script type="text/javascript">
			$(function(){
				$("#img img").click(function(){
					$(this).css("border","1px solid red")
				})
			})
		</script>
	</head>
	<body>
		<div id="img">
			<img src="img/pic.gif"/>
		</div>
	</body>
</html>
